Police in Haiti have killed at least three people while repelling an attack on the country's central bank.