Structure transition and multiferroic properties of Mn-doped BiFeO3 thin films