GOODS-ALMA: 1.1 mm galaxy survey. I. Source catalog and optically dark galaxies