Residence time of water and phytoplankton biomass in coral reef lagoons