Kevin Nisbet and Topi Keskinen both scored twice as Aberdeen ended a run of six Scottish Premiership games without a victory with a 6-2 win over Livingston.