Fluctuating stripes in strongly correlated electron systems and the nematic-smectic quantum phase transition