California opens driverless car competition with testing regulations