Exploitation of frozen-mode light in photonic circuits