Words Matter: Scene Text for Image Classification and Retrieval