Some principles emerging from the study of short- and long-term memory