Determination of ion temperatures in the edge plasma from ion flux transmission of apertures