A neural network model of the effect of prior experience with regularities on subsequent category learning