Direct Inference, Reichenbach's Principle, and the Sleeping Beauty Problem