Photoinduced proton transfer in Langmuir-Blodgett films