Possibility of measuring thermal effects in the Casimir force