The retreat of glaciers in the Swiss Alps led to the discovery of two bodies, local authorities said.