Exchange coupling and spatial confinement in IrMn/NiFe films and dot arrays