The product of two consecutive odd integers is 10 more than the square of the smaller integer. Find the integers.