Attenuation length of electrons in self-assembled monolayers of n-alkanethiols on gold