Run-up of internal waves on a gentle slope in a two-layered system