Optical and Spin Coherence Properties of Single Erbium Ions in Solid-State Hosts