Education services in Scotland's prisons are to be handed to an outsourcing company following a recent tendering process.