The US says it can have a "willing partnership" with Iran, after President Hassan Rohani was inaugurated in Tehran.