nucleoside-triphosphate diphosphatase activity