Mangrove forests, long considered among the world's most threatened ecosystems, are now showing signs of recovery.