Control of surface forces and of friction using polyelectrolytes and functionalised molecules: the role of electrostatic, steric and specific interactions