The effect of varying surface orientation on the molecular organization of nematic films. A Monte Carlo simulation