<p>One police officer has died and another has lost a leg after an explosive device detonated at the scene of a shooting in northern Spain.</p>