Recent advances in guided-wave devices for optical signal processing