Protests have been held across Spain against an amnesty deal with Catalan separatists aimed at securing a new term for the Socialist-led government.