Superlattice Madelung Energy of Idealized Ordered Cubic Perovskites