Barack Obama addresses America and the world for the last time as US president, in a speech that was both a tearful goodbye and a call to arms.