Researchers find neural switch that turns dreams on and off