Scotland has made "good progress" investing in renewable energy and energy efficiency