Search for direct production of charginos and neutralinos in events with three leptons and missing transverse momentum in pp collisions with the ATLAS detector