Existing-home sales increase as inventory shortage persists