Statistics for Temporal factors and ensemble coding of contextual fear and extinction memories in the hippocampus