Pointwise convergence of some multiple ergodic averages