Man accused of shooting Charleston police officer out on bail on drug charges