Spain says several firms hit by cyberattacks