How is the photoelectric effect used in everyday life?