UK Prime Minister Boris Johnson has tested positive for coronavirus and is self-isolating after developing mild symptoms.