The design of permeable structures aimed at rehabilitating mangroves