Perovskite-type YRh3B with multiple types of nodal point and nodal line states