FI-injective and FI-flat modules