Electrical and material characterisation of silicon carbide based resistive memories