Calculate the number of risers and treads for a staircase from total rise and target step dimensions.