Boris Johnson says he is "humbled and proud" to be offered the role of foreign secretary in Prime Minister Theresa May's new cabinet line-up.