Missing transverse energy performance of the CMS detector