The influence of the electron transport cross sectional shape on electron energy distribution functions in DC and microwave plasmas