Specific heat and magnetization in dilute magnetic alloys