Rotational spectrum of jet-cooled HfO2 and HfO