Transformations in prefrontal ensemble activity underlying rapid threat avoidance learning