A collection of dimes and nickles is worth $5.60. The ratio of dimes to nickles is 3:2. How many dimes and nickles are there?