Phase behavior of the confined Lebwohl-Lasher model.