Searching for stars closely encountering with the solar system based on data from the Gaia DR1 and RAVE5 catalogues