Polyelectrolytes in thin liquid films