Outgoing US president George W Bush has delivered a message of goodwill to his successor Barack Obama.