Optimal classification scores based on multivariate marker transformations