By Adding Apartments, Malls Seek to Bring Shopping Closer to Home