The mayor and council shall have power and authority to prohibit the inhuman treatment of animals and provide punishment therefor.