Bayesian dynamic pricing policies: Learning and earning under a binary prior distribution