Samsung secures self-driving car permit in California