The final two candidates vying to become the next Prime Minister have been invited to debate the UK's energy future at a special hustings in Aberdeen.