[r] How do I get the classes of all columns in a data frame?