The Masses of Cepheid Variables