Glitch hits Apple's iMessage, Facetime