Dorset Council hopes to save money and energy by replacing streetlights and installing solar panels.