Electrodeposited dual layer coating