Joseph has $1.45 worth of nickels and dimes. He has a total of 17 nickels and dimes altogether. Determine the number of nickels and the number of dimes that Joseph has.