Effect of Pressure on the Resistance of Iodine and Selenium