The tradition of buying a round of drinks at the pub is in decline, according to new research.