Confinement of ohmic and ICRF heated plasmas in Alcator C-Mod