Interpolation in the Nevanlinna and Smirnov classes and harmonic majorants