Separation of variables for the 1-dimensional non-linear diffusion equation