Write a query to find all actors who satisfy the following conditions:
The actor had played together with Tom Hanks in a movie that was released before or in 1995, ANDThe actor has not played together with Tom Hanks in a movie that was released after...