Gravar-mail: A flexible Bayesian method for detecting allelic imbalance in RNA-seq data