Mean magnetic field profiles and their dynamics in Reversed Field Pinches