Reigning Gallagher Premiership champions Harlequins produced 45 unanswered second-half points to overturn a 24-7 halftime deficit and beat Bristol Bears 52-24 in a thrilling encounter between two Heineken Champions Cup Pool B contenders on Friday night.