Study: 40 percent of small businesses hit with data breaches