Corpuscle theory of light