Good news for those who like to linger over their ice cream cone - scientists have discovered a way of making it stay solid for longer.