For statutory provisions requiring cities to take such measures as may be necessary to preserve and protect the public health, including the adoption of ordinances, see Health and Safety Code § 500.