Similarity of Neural Network Models: A Survey of Functional and Representational Measures