Wave functions and oscillator strengths of Be-like ions (Be I, C III, N IV, O V)