Spain's state prosecutor has called for rebellion and sedition charges to be brought against Catalonia's leaders.