From federal funds available for promoting public safety on the streets, the department may allocate to cities, cities and counties, and counties up to 50 percent of the cost of constructing, repairing, or improving street lighting facilities or up to 50 percent of the cost of contracting for street lighting services.