Cruise self-driving cars investigated after two accidents