Scottish census deadline expected to be extended after poor response