The mechanism for tau aggregation and its relation to neuronal dysfunction