A hidden process regression model for functional data description. Application to curve discrimination