Factors controlling the shape of the OSL decay curve in quartz