Synchronization in populations of globally coupled oscillators with inertial effects