Greece, Bulgaria sign off on €5B rail deal