As an exception to the hearsay rule, a prior statement made by a witness who appears at a trial or hearing and who is subject to cross-examination as to the prior statement is admissible, provided that such statement is admissible if made by the declarant appearing as witness.