The Nobel prize in economics has been awarded to Richard Thaler of the University of Chicago for research showing how people's choices on economic matters.