Classification of expanding and steady Ricci solitons with integral curvature decay