Higher Criticism for discriminating frequency-tables and testing authorship