Electrochemical performance of KTiOAsO4 (KTA) in potassium-ion batteries from density-functional theory