Knife amnesty bins have been installed in York as part of a county wide crime crackdown.