X-ray study of the backbone conformation of a comb-shaped polyacrylate with nematic to smectic A phase transitions