Royal Mail owner International Distribution Services said it has agreed to a £3.57bn takeover offer from Czech billionaire Daniel Kretinsky’s EP Group.