Multiphase nanodomains in a strained BaTiO3 film on a GdScO3 substrate