The threshold of frequency for photoelectric effect depends on the