Advances in maskless and mask-based optical lithography on plastic flexible substrates