Deputies shot through restaurant window; sheriff blames hate