Magnetic structure and properties of centrosymmetric twisted-melilite K2CoP2O7.