Storage and retrieval of squeezing in multimode resonant quantum memories