General relations for quantum gases in two and three dimensions. II. Bosons and mixtures