Man tries to steal officer's gun at Walmart in Phoenix