UK funds invested in smaller companies have been the best performing since Theresa May called her snap election seven weeks ago