Roof fire causes 'serious damage' to old rectory near Ripon