Salaries, pensions are 'rightful entitlements' of govt employees, says SC