Comparison of electronic structures of RuO2 and IrO2 nanorods investigated by x-ray absorption and scanning photoelectron microscopy