Spain passes 2022 budget with record social spending