Design and model based control of a dog clutch for electrified vehicles