Microstructure and grain size dependence of ferroelectric properties of BaTiO3 thin films on LaNiO3 buffered Si