Effects were long-lasting, and both men and women benefited, researchers say