Deuteron NMR Investigation of a Photomechanical Effect in a Smectic-A Liquid Crystal