Fire departments to use closed apartments for training