Apple CEO Tim Cook explains why he spoke out about immigration