Attributed Text Generation via Post-hoc Research and Revision