Toward high-performance computational chemistry: II. A scalable self-consistent field program