Boris Johnson has written to all leaders of opposition parties to invite them to work together at this moment of national emergency.