Military deployments hard on children, study says