The surprising way taking a photo affects your memory of an event