Phase transition and elastic constants of zirconium from first-principles calculations