The government collected £1.5bn in inheritance tax between April and June, £0.4bn more than for the same period a year earlier.