Knowledge networks across Europe: which distance matters?