Group–group bond index for molecular systems