Bulk defects in nano-crystalline and in non-crystalline HfO2-based thin film dielectrics