Rail services between Bury St Edmunds and Ely as well as some Ipswich services have been affected after a person was hit by a train.