Hardy and Hardy–Rellich type inequalities with Bessel pairs | Synapse