The leaders of a military coup in Mali have issued a new constitution for the country while thousands of their supporters rally in the capital Bamako and protest foreign interference.