Working memory modulates the perception of time