Asylum seekers who try to stop French coastguards saving them or who rush onto overcrowded dinghies on beaches will be targeted under a new offence.