Photonic molecules for subwavelength light confinement design and applications