Computational Algorithms for Bounding Potential Energy of Spherical Codes and Designs