Phase Transitions on C*-Algebras from Actions of Congruence Monoids on Rings of Algebraic Integers