Why is light affected by gravity even if it doesn't have mass?