Physical properties of La-doped NiO sprayed thin films for optoelectronic and sensor applications