Measurements of the mass and width of the eta_c meson and of an eta_c(2S) candidate