Morocco gets $50 million loan from IDB to upgrade electricity sector