Why time slows down in altered states of consciousness