Mean residence time of lagoons in shallow vegetated floodplains