Beth has 12 coins in her purse. The coins are all nickels and dimes. The total value of the coins is 95¢. How many nickels does she have? How many dimes does she have?