Coherent perfect absorption in one-sided reflectionless media