Effects of electrode microstructures of superconducting tunnel junctions on X-ray spectroscopy