Low-Cost Sensors-Based Attitude Estimation for Pedestrian Navigation in GPS-Denied Environments