How can you use the general theory of relativity to explain the effects of gravity on space and time, such as gravitational lensing and gravitational waves?