Warm gas in the rotating disk of the Red Rectangle: accurate models of molecular line emission