Canonical Kahler metrics with cone singularities