Measuring coral photosynthesis under variable light intensities