Generating Diverse and High-Quality Texts by Minimum Bayes Risk Decoding