XANES study of rhenium oxide compounds at the L1 and L3 absorption edges