Nanoscale viscoplastic behavior of smectic liquid crystals and its application in nanolithography