Priority communication Spontaneous absorption of viscous and viscoelastic fluids by capillaries and porous substrates