Cosmological weak lensing