Two-color quantum memory in double-Lambda media