People living near onshore wind farms in Germany should be compensated financially, chancellor Angela Merkel has said.