Angular dependent optical transmission of twisted nematic liquid-crystal layers