Structural and functional properties of mangrove forests