Spin state and covalent effect in LaCoO3: An17O NMR study