△ABC,∠BAC=90°,BD是中线,AE⊥BD,E在BC上,求证BE=2EC