Iraq 'liberates' Ramadi from militants' grip