Embedding for bulk systems using localized atomic orbitals