The cosmic ray primary composition at the knee region from lateral distributions of atmospheric C˘erenkov photons in extensive air showers