Ostrowski and Trapezoid type inequalities related to Pompeiu's mean value theorem