Comparative analysis of active sites in P-loop nucleoside triphosphatases suggests an ancestral activation mechanism