Each municipality may levy and collect taxes for the purpose of paying pensions and other benefits and costs under a teacher retirement system or systems.