how many episodes in the originals season 2