The European Central Bank, facing a sluggish eurozone economy, said it would extend the length of its asset purchases and push banks to lend by charging them more to park money.