Efficient multireference perturbation theory without high-order reduced density matrices.