Find the common difference of an AP whose first term is 5 and the sum of first 4 terms is half of the sum of the next 4 terms.