Training Socially Aligned Language Models on Simulated Social Interactions