Pubs welcome scans as violence deterrent