Coherent control via weak measurements in P 31 single-atom electron and nuclear spin qubits