Photodegradable polyamides