TrafficGen: Learning to Generate Diverse and Realistic Traffic Scenarios