Selective excitation with shaped pulses transported through a fiber using reverse propagation