Time resolution of the ATLAS Tile calorimeter and its performance for a measurement of heavy stable particles