Effect of tree-level and mean-field improvement on the light-hadron spectrum in quenched QCD