WiFi based trajectory alignment, calibration and easy site survey using smart phones and foot-mounted IMUs