Effective g Factor of Subgap States in Hybrid Nanowires.