Courageous Royal Navy helicopter pilots who faced ferocious attacks from militants have been honoured for their bravery.