Nanoscale control of domain architectures in BiFeO3 thin films.