Cyberattacks and climate change are among Americans' top concerns, beating out national security, a new survey shows.