Determining the Higgs spin and parity in the diphoton decay channel