Conditional co-simulation of continuous and categorical variables for geostatistical applications