Scotland to ditch key climate change target