Layered drawings of graphs with crossing constraints