Using spectral analysis and Allan variance to characterise a potentiometric measurement system