Universal and operational benchmarking of quantum memories