Efficient controlled-phase gate for single-spin qubits in quantum dots