Partial inverse problems for Sturm–Liouville operators on trees