Jensen's integral inequality in locally convex spaces