Rational conformal field theories at, and away from, criticality as Toda field theories