Spin-dependent tunneling characteristics in Fe/MgO/Fe trilayers: First-principles calculations