Ostrowski type inequalities, functions of bounded variation, Riemann integral