Reddening, colour and metallicity of the M31 globular cluster system