Riemann type integrals for functions taking values in a locally convex space