Measurement of extensional viscosity of polymer solutions