Frequency dependent mobility of charge carriers along polymer chains with finite length