Structural properties and defect related luminescence of Yb-doped NiO sol-gel thin films