Effect of Cr doping on the phase structure, surface appearance and magnetic property of BiFeO3 thin films prepared via sol–gel technology