Scotland hit its ambitious emissions-cutting target six years early