Deputy Prime Minister Nick Clegg says he has sympathy for public sector workers striking over changes to their pensions.