Police say the bombs wounded at least 16 others when they detonated at a residential compound for security guards working at Badoosh prison .