Domain engineering in BiFeO 3 thin films