A model of the hippocampus combining self-organization and associative memory function