Measurement of the Higgs-boson CP properties using decays into WW and ZZ at the Photon Collider