Silicon photonic devices for communications, sensing and quantum optics