The government is stockpiling six weeks worth of medicines in case of a no deal Brexit.