The lensing properties of the Sersic model