The way you breathe may affect your memory: study