Military veterans to get priority for police jobs under COPS grants