Long period grating-based ocean pH sensor in an SMS fiber