Moment bounds and concentration inequalities for slowly mixing dynamical systems