High pressure measurements of the refractive indices of two nematic liquid crystals