Lionel Messi scored two goals, including a brilliant free-kick, and set up another as Barcelona took a 3-1 lead against Sampdoria