On some weighted integral inequalities for convex functions related to Fejér's result