XMM-Newton observation of M 87 - I. Single-phase temperature structure of intracluster medium