Cofnod E-bost: Optimal inference explains the perceptual coherence of visual motion stimuli