Exploring the Variable Sky with LINEAR. III. Classification of Periodic Light Curves