Trees in cities really do save lives, a study has found