Explain the photoelectric effect and cite sources in the reply.