Boris Johnson has pledged to would build “about six” free ports to boost trade after Brexit – if he becomes Conservative leader.