The role of cations in hydrogen evolution reaction on a platinum electrode in mildly acidic media