Temperature dependence of the nuclear spin-magnon relaxation time in the two-dimensional antiferromagnetsK2MnF4andK2NiF4