State and trait anxiety and depression in patients affected by gastrointestinal diseases: psychometric evaluation of 1641 patients referred to an internal medicine outpatient setting