Up to a quarter of a million appointments and operations might have to be postponed if a four-day walkout by junior doctors goes ahead next month, NHS leaders have warned.