Self-heating-induced electrical and optical switching in high quality VO2 films controlled with current pulses