Scientists find a simple routine linked to less pain and depression