Halogen bonding versus chalcogen and pnicogen bonding: a combined Cambridge structural database and theoretical study