Static critical phenomena in ferromagnets with quenched disorder