Malls across the U.S. transforming amid rise of e-commerce