Discovering Transferable Forensic Features for CNN-generated Images Detection