Switchable coupling between charge and flux qubits