Inert doublet dark matter with strong electroweak phase transition