Boundedness of maximal operators and potential operators on Carleson curves in Lebesgue spaces with variable exponent