Police are investigating organised crime links after one man was shot dead and another was seriously injured outside a pub in Sydney.