The dominant role of memory-based capacitive hysteretic currents in operation of photovoltaic perovskites