The application of exterior complex scaling in calculations on resonances in nuclear motion in molecular systems