Classifying subcategories of modules over a PID