As overnight temperatures continue to rise across Australia, a new study suggests warmer nights may be linked to poorer memory in middle-aged and older Australians.