The Boas problem on Hankel transforms