XMM-Newton observations of the young open cluster Blanco 1. I. X-ray spectroscopy and photometry.