Use of magnetic fields in crystal growth from semiconductor melts