Nations agree on steps to protect nature