Spatial inferences and memory in primary school children