Stuart Hogg helped Scotland to victory over Ireland