Photonic Crystal Chemical Sensors: pH and Ionic Strength