Swelling and Doping of Polyelectrolyte Multilayers and Application