Said mayor and council shall have full power and authority to require the owner of any improved property in said city to provide suitable privy or watercloset accommodations upon such improved premises, whenever in their judgment and in the opinion of the city physician such improvements are necessary to preserve the health or to protect the sanitary interests of citizens of any neighborhood within said city. The mayor and council are authorized to enforce the provisions of this section by appropriate ordinances.