X-ray spectromicroscopy investigation of soft and hard breakdown in RRAM devices. (15th July 2016)