Heavy rainfall and flash floods have killed at least 14 people and injured 32 others in Morocco's coastal province of Safi.