Peter Thornton to become first chief coroner