Characterization of HfBx films deposited by r.f. diode and r.f. magnetron sputtering