Processing spatial and temporal order of pictures and words in short-term memory