The Scottish government has pledged to reduce its greenhouse gas emissions to net zero by 2045 - five years earlier than the ...