The search for extraterrestrial intelligence in the optical spectrum