Modelling segmental duplications in the human genome