MSPs have hit out at the deals agreed for two former senior staff at the Scottish Environment Protection Agency