Effects of water quality on seagrass community productivity and biodiversity