Collisional energy loss of a fast heavy quark in a quark-gluon plasma