Maritime agency: Chinese capsized ship had record of safety violations