q-Hermite-Hadamard inequalities for functions with convex or h-convex q-derivative