Bayern Munich boost their hopes of a top-eight finish in the league phase with a narrow victory over Paris St-Germain, who remain winless in the Champions League since September.