Radiative and collisional jet energy loss in a quark-gluon plasma