Development and functionalization of subwavelength grating metamaterials in silicon-based photonic integrated circuits