In situ study of starting steps of corrosion phenomena on zinc and magnesium surfaces