Lu doping nickel oxide thin films using sol-gel spin coated and density functional theory: optoelectronic and magnetic properties