Mass. schools use drills, tech and consultants to increase security