Bounds for regularity and coregularity of graded modules