Passivation and integration of atomically-thin transition metal dichalcogenide electronics