Welsh councils to share £5m in emergency food aid as living costs rise