Following the adoption of an authorizing resolution, the mayor and council may make inquiries and investigations into the affairs of the city and the conduct of any department, office, or agency thereof, and for this purpose may subpoena witnesses, administer oaths, take testimony, and may require the production of evidence pursuant to subpoena. Any person who fails or refuses to obey a lawful order issued in the exercise of these powers by the mayor and council shall be punished as provided by ordinance.