Determining Higgs couplings with a model-independent analysis of h -> gamma gamma