The second law efficiency of solar heating