Microscopic study of the shape transition in the zirconium isotopes