Generation of intense coherent attosecond X-ray pulses using relativistic electron mirrors