Socially Cooperative Control For Connected And Automated Vehicles In Mixed Traffic