Neural Networks to Estimate Generalized Propensity Scores for Continuous Treatment Doses