Ortho-to-para ratio of NH2. Herschel-HIFI observations of ortho- and para-NH2 rotational transitions towards W31C, W49N, W51 and G34.3+0.1