The regulatory role of dendritic cells in the immune response