A generalization of the Ostrowski integral inequality for mappings whose derivatives belong to Lp[a,b] and applications in numerical integration