BP vows to invest $500M to fund oil-spill studies