A study of ferroelectric thin films deposited on a LaNiO3 barrier electrode by nebulized spray pyrolysis