Topotactic routes to layered calcium cobalt oxides