An off-duty firearms police officer who was shot at seven times during a shootout with a gunman on the streets of north London has been awarded a medal for outstanding bravery.