The nickels and dimes all fell on the floor. There were 12 more nickels than dimes, and the total value of the coins was $5.10. How many nickels and how many dimes were on the floor?