A cost-effective method for minimizing the sphere-of-confusion error of x-ray microdiffractometers