Unsupervised Bayesian classification for models with scalar and functional covariates