Internal resonances in periodically modulated long Josephson junctions