Integration of an organic resistive memory with a pressure-sensitive element on a fully flexible substrate