Variable-range hopping conductivity and magnetoresistance in n-CuGaSe2