Composite inversion pulses with frequency switching and their application to broadband decoupling