Controlled phase gate for solid-state charge-qubit architectures