X-ray spectroscopy of the W UMa-type binary VW Cephei