The use of mangroves in coastal protection