Obama strikes upbeat tone on US present, future