The ALMA-PILS survey: First detections of deuterated formamide and deuterated isocyanic acid in the interstellar medium