How to find out the classes of a data.frame