Multigraded Hilbert functions and toric complete intersection codes