Generalized Matrix Means for Semi-Supervised Learning with Multilayer Graphs