Storage of OAM qubits and structural light in cold and warm atomic ensembles