Anomalous optical response with variation in band filling in linear chain conductors