Cosmological Constraints from Gravitational Lensing