Defect chemistry and surface properties of LaCoO3