Cepheid variables and eclipsing binary stars