Ultrafast optical switching in distributed feedback polymer laser