A Bayesian model for identifying cancer subtypes from paired methylation profiles