Nanostructure and performance of Pt-LaNiO3 composite film for ferroelectric film devices