Effect of hydrostatic pressure on the magnetocrystalline anisotropy of cobalt