Molecular–dynamics simulation of amphiphilic bilayer membranes and wormlike micelles: a multi–scale modelling approach to the design of viscoelastic surfactant solutions