First-principles calculation of the insulator-to-metal transition pressure in CsI