If Sergio has 16 quarters and dimes in his pocket, and they have a combined value of 265 cents, how many of each coin does he have?