Modelling ecosystem functions and properties at different time and spatial scales in shallow coastal lagoons: an application of the LOICZ biogeochemical model