Boundary Conditions and Quantum Effects in Thin Superconducting Films