UK companies hit by rise in costly hacking and phishing attacks