August consumer sentiment rose to three-month high