Mangrove dieback during fluctuating sea levels