The effect of pressure on the absorption edge of certain molecular compounds