Thousands demand reforms in Algeria; 400 arrested