Improved Resistive Switching Uniformity in Cu/HfO2/Pt Devices by Using Current Sweeping Mode