Peter has been saving his loose change for several days. When he counted his quarters and dimes, he found they had a total value $12.60. The number of quarters was thirteen more than three times the number of dimes. How many quarters and how many dimes did Peter have?