Trapping of Rb atoms by ac electric fields