Far-field optical imaging and manipulation of individual spins with nanoscale resolution