The properties of polyethylene and polyamide implanted with B+ ions to high doses