Rich with cream, potato gratin is a special-occasion recipe in all meanings of the phrase.