Wave and current attenuation in mangroves