Perturbation Theory of Covalent Crystals. III. Calculation of Formation and Migration Energies of a Vacancy in Si and Ge