Detecting membrane impairment caused by xenobiotics