First-order phase transitions of type-I superconducting films