Chain graphs for multilevel models