Length dependence of coherent electron transportation in metal?alkanedithiol?metal and metal?alkanemonothiol?metal junctions