A quasiharmonic calculation of perfect-crystal and intrinsic-defect properties of β-PbF2