Formation history, structure and dynamics of discs and spheroids in simulated Milky Way mass galaxies