High-density living worse for environment than suburban sprawl, new study shows