Two-segments foot model for biomechanical motion analysis