calculate coulombic energy for each pair