Extragalactic astronomy and cosmology pdf