Detection of lubricating film breakdown in mechanical seals