Pulsation and evolutionary masses of classical cepheids. I. Milky way variables