Learning State-Dependent Sensor Measurement Models To Improve Robot Localization Accuracy