Lateral orientation relationship between YBa2Cu3O7−x thin films and MgO(100) and LaAlO3(102) substrates