Atomistic simulations of energies for arbitrary grain boundaries. Part II: Statistical analysis of energies for tilt and twist grain boundaries