Unimodular gauge in perturbative gravity and supergravity