Influence of gas environment and heating on atomic structures of platinum nanoparticle catalysts for proton-exchange membrane fuel cells