Interface structures and strain relaxation mechanisms of ferroelectric BaTiO3/SrTiO3 multilayers on (001) MgO substrates