Chadians are voting in a parliamentary and regional election that will end the three-year transitional period from military rule but which the main opposition is boycotting.