Study of Y(1S) radiative decays to γπ+π- and γK+K-