Transformer Encoder with Multiscale Deep Learning for Pain Classification Using Physiological Signals