Improving power-extraction efficiency of a flapping plate: From passive deformation to active control