Despite Glitches, Apple Sells 1 Million iPhones in First Weekend