Extension of Miedema's semiempirical model to estimates of the formation enthalpies of point defects in intermetallic compounds with the B2 structure