Configuration and photochemical reaction of a bolaamphiphilic diacid with a diazo resin in monolayers and Langmuir-Blodgett films.