Electronic structure of NiO/Ag(100) thin films from DFT+U and hybrid functional DFT approaches