Distinct processes shape flashbulb and event memories