Ultrafast competition between energy and charge transfer in a functionalized electron donor/fullerene derivative