Companies turn to cyber insurance as hackers rise