Detecting phylogenetic signal in comparative data