Madelung Constants of the Cubic Perovskite Structures