Association between mood disorders and frequent emergency department use: a cross-sectional study