Electronic structure of a (12, 0) carbon nanotube encapsulated with crystalline potassium