Texts or Images? A Fine-grained Analysis on the Effectiveness of Input Representations and Models for Table Question Answering