Characterization of domains admitting nondictatorial social welfare functions and nonmanipulable voting procedures