Episodes of psychomotor agitation among medical patients: findings from a longitudinal multicentre study