Gravitational lensing by smooth inhomogeneities in the Universe