Laser-induced periodic surface structure. I. Theory