Fast quantum information transfer with superconducting flux qubits coupled to a cavity