Quantum Mechanics and Photoelectric Laws