VariFi: Variational Inference for Indoor Pedestrian Localization and Tracking Using IMU and WiFi RSS