Simulation of anticipation and heritability due to ascertainment bias