Layered titanates in alkaline, acidic and intercalated with 1,8-octyldiamine forms as ion-exchangers with divalent cobalt, nickel and copper cations