DE-FAKE: Detection and Attribution of Fake Images Generated by Text-to-Image Generation Models