Magnification-independent Histopathological Image Classification with Similarity-based Multi-scale Embeddings