Patterns of structural and functional diversity of macrofaunal communities in a subtropical mangrove ecosystem