Bail set for man accused of shooting officer