Electronic properties of the two rutiles TiO2 and VF2: A comparative study