Noise-margin analysis for organic thin-film complementary technology