IR-induced CO photodesorption from pure CO ice and CO on amorphous solid water