China defends trans-Amazon railway, says it will protect the environment