Electric control of spin qubits: from semiconductor quantum dots to magnetic molecules