An automatic system for chromosomal analysis applied to prenatal diagnosis