Japan's economy sinks into contraction as spending, investment decline