Recording of dynamic holograms by nanosecond and picosecond laser pulses in solid-state fullerene-containing matrices