Typhoon Megi heads towards China