Optimal Dual Frames For Erasures And Discrete Gabor Frames