A consistent study of precompound and compound-nucleus emission mechanisms in neutron-induced reactions