Men tend to be more confident investors, study finds