Investigation of the thermal conductivity of selected compounds of gadolinium and lanthanum