Functional map networks for the joint analysis of image and shape collections