Decay of correlations for maps with uniformly contracting fibers and logarithm law for singular hyperbolic attractors