Doctor–patient consultations in dyadic and triadic exchanges