Weakly charged polyelectrolytes in a poor solvent