Cosmography and cosmic acceleration