Mixture models for mixed-type data through a composite likelihood approach