Israeli army slams ex-soldier for Facebook photos