Wave attenuation in coastal mangroves