Several people have been injured as Moroccan police clashed with demonstrators in the capital city of Rabat as well as the country's biggest city, Casablanca.