Implementing quantum error correction reduces the effective logical capacity of physical qubits in a quantum computer