Patty has some dimes and quarters in her change tray with a total value of $2.70. There are 21 coins in the tray. How many dimes and quarters are there?