A family of effective structure-preserving schemes with second-order accuracy for the undamped sine–Gordon equation. (15th May 2021)