Scaling theory of liquid-crystal displays addressed by thin-film transistors