On some weighted integral inequalities for convex functions related to Fejer's result