A man realized he was in love with his friend's wife after an intimate encounter in the shower