Investigation of HfO2 and ZrO2 for Resistive Random Access Memory applications