Generalized rees rings and arithmetical graded rings