Several key dams are at full capacity after an increase in rainfall, Moroccan authorities say as they declared a seven-year drought over.