Leaving the EU without a deal would make it harder to stop the spread of diseases, NHS boss is told.