Melvin universe as a limit of the C-metric