Structure and twinning of cobaltite