On the quantum mechanical potential of mean force. I. A path integral perspective