Scotland is to ban the growing of genetically modified crops, the country's rural affairs secretary has announced.