Target posts slump in earnings after hack, warns of further fallout