Which of the following statements about the photoelectric effect is correct?