Domain Configurations in Ferroelectric PbTiO3 Thin Films: The Influence of Substrate and Film Thickness