The X-ray emission properties of millisecond pulsars