Dynamic social balance and convergent appraisals via homophily and influence mechanisms