Thin YAP:Ce and LaBr3:Ce scintillators as proton detectors of a thin-film proton recoil neutron spectrometer for fusion and spallation sources applications