Quantum technologies with optically interfaced solid-state spins