The 2012 Olympics will give the UK's economy a boost and create jobs, Prime Minister Gordon Brown has said.