First-principles investigation of the bulk properties of americium dioxide and sesquioxides