Potential energy surface of thionylimide