Multiple functors. IV. Monoidal closed structures on $Cat_n$