Taking statins is linked with better health, new study shows