The US is willing to do more to assist the Iraqi army in retaking the city of Ramadi from Islamic State militants, says the US defence secretary.