Evolution of supernova remnants in the interstellar medium with a large-scale density gradient. I. General properties of the morphological evolution and X-ray emission