How memories shape our perception of the present