The Auriga Project: the properties and formation mechanisms of disc galaxies across cosmic time