Radiative decays of quarkonium states, momentum operator expansion and nilpotent operators