A Bayesian Framework for Tilt Perception and Confidence