Corporate social responsibility, profits and welfare with managerial firms