Generation of attosecond pulses in “water window” range by a plasma-based X-ray laser