Resistive Plate Chambers with Gd-coated electrodes as thermal neutron detectors