Exploiting Shared Representations for Personalized Federated Learning