Layer-dependent spin-orbit torques generated by the centrosymmetric transition metal dichalcogenide β−MoTe2