The sum of the squares of two consecutive positive integers is 365 . Find the integers.