Planck intermediate results: XXXI. Microwave survey of Galactic supernova remnants