Rear Window” and “Strangers on a Train” lifted the director from a slump. Two books, by Stephen Rebello and Jennifer O’Callaghan, delve into these classics.