RAPT: Pre-training of Time-Aware Transformer for Learning Robust Healthcare Representation