A counterpart of Bessel's inequality in inner product spaces and some Gruss type related results