Community Recovery in the Geometric Block Model