Portuguese President Marcelo Rebelo de Sousa has tested positive for the coronavirus, but has so far shown no symptoms.