The BBC soap relived the past ahead of its 40th anniversary next week