Microscopic spin-wave theory for yttrium-iron garnet films