Tunable structural transition and multiferroic properties of the composite thin films through the structural transition of magnetic layer