A closed formula for illiquid corporate bonds and an application to the European market