Photodynamically induced damage to cellular functions and its relation to cell death