The Crown star Claire Foy has said she thinks "shared humour" is the reason the Queen and the Duke of Edinburgh's marriage has lasted so long.