Study finds that healthy lifestyle can offset genetic risk