Chandra Study of a Complete Sample of Millisecond Pulsars in 47 Tucanae and NGC 6397