Investigation of the intermediate- and high-density forms of amorphous ice by molecular dynamics calculations and diffraction experiments