The Iraqi city of Ramadi has been "liberated" from so-called Islamic State, the Iraqi military has declared.