Cosmic acceleration in the Randall-Sundrum II brane world