Battery storage, smart grid, and efficiency companies raise millions in funding