Theoretical model of neuronal population coding of stimuli with both continuous and discrete dimensions