Redox interaction of ammonia with (VO)2P2O7