Scale-invariant scalar field dark matter through the Higgs portal