Gravar-mail: Sample size calculations for stepped wedge and cluster randomised trials: a unified approach