Serial dependence requires retrieval of relevant information from the previous trial