Sam Vokes scores the only goal as Burnley secure promotion to the Premier League with a home victory over QPR.