The Scottish government has rejected the 432-MW Scoop Hill wind farm in Dumfries and Galloway, proposed by UK-based renewables company CWP Energy.