Unfolding of multisensory inference in the brain and behavior