Text this: Consistent Atomic Geometries and Electronic Structure of Five Phases of Potassium Niobate from Density-Functional Theory