Memories can either comfort or torment us. Samuel Beckett's fascination with the ways we distort, betray and cling to our past experiences