Control and Filtering for Semi-Markovian Jump Systems