Ab initio calculations of the thermodynamics and phase diagram of zirconium