Generalization and reverses of the left Fejér inequality for convex functions