M87 in the near-infrared: The jet and the counterjet regions