UK is on course to meet energy targets