Synthesis of thin film infinite-layer nickelates by atomic hydrogen reduction: Clarifying the role of the capping layer