Attenuation lengths of high energy photoelectrons in compact and mesoporous SiO2 films