Effect of daylight variations on the energy budgets of shallow-water corals