Ultrafast energy and charge transfer in optoelectronic materials