Dynamic three-dimensional simulation of facet formation and segregation in Bridgman crystal growth