Long-term changes in ecosystem functioning of a coastal bay expected from a shifting balance between intertidal and subtidal habitats