Mixed-Valence Perovskite Thin Films by Polymer-Assisted Deposition