Philippe Coutinho and Roberto Firmino scored within 126 seconds of each other to earn Liverpool a comeback victory at Stoke City.