Police departments hiring immigrants as officers