A US freelance journalist who was kidnapped in the Iraqi capital Baghdad a week ago has been released, according to Secretary of State Marco Rubio.