Samuel Pepys was a high ranking and brilliant Admiralty official, but in private he was a cheat, a philanderer and an adulterer.