People with genetic disease at greater risk of sun damage, study finds