Light curves of type Ia supernovae from near the time of explosion