Smart Instrumented Insole for Gait Phase Detection and Center of Pressure Prediction