Modelling light and photosynthesis in the marine environment