Entropy-Compressed Indexes for Multidimensional Pattern Matching