The microstructure and ferroelectric properties of Sm and Ta-doped bismuth titanate ferroelectric thin films