Optical and thermoelectric properties of NaNbO3 thin film deposed by spray pyrolysis: experimental and DFT study