Diffusion Snakes: Introducing Statistical Shape Knowledge into the Mumford-Shah Functional