Extended-stay hotel to become 88 apartments in Danvers