Bayesian hypothesis testing for pattern discrimination in brain decoding