Calculation of the electrostatic energy of the laves phases C14, C15, and C36