Congruence semimodular varieties II: Regular varieties