plants can get energy from the sun