Each home rule charter city of the second or third class, by an affirmative vote of two-thirds of all the members of its council, may construct, or purchase an electric light plant to be operated by the city for municipal purposes and for the use and benefit of the inhabitants of the city.