Flexural wave energy harvesting by multi-mode elastic metamaterial cavities