Reduced leakage current and enhanced ferroelectric properties in Mn-doped Bi0.5Na0.5TiO3-based thin films