A mirror theorem for toric stacks