Representations of the Schr\"{o}dinger-Virasoro algebras